home *** CD-ROM | disk | FTP | other *** search
-
- VDUobject 1.02
- ¯¯¯¯¯¯¯¯¯¯¯¯¯¯
-
- Purpose
- ¯¯¯¯¯¯¯
- The purpose of this appllication is to convert VDU-sequences into a
- Drawfile.A VDU-sequence of a plotted image can be sent to a file in eg. a
- BASIC program by 'spooling the image' whilst plotting takes place. This
- means that complex calculations and accurate placement can be used in
- drawfiles.
-
- Guide
- ¯¯¯¯¯
- The use of this application is quite straightforward, just drag a
- VDUsequence (file type RawData (FF1)) on the iconbar and drag the
- resulting Drawfile into a directory viewer.
-
- All parameters have fixed values.
-
- The file 'VDUinterp' gives a summary of implemented and ignored VDU-codes
-
- Restrictions:
- ¯¯¯¯¯¯¯¯¯¯¯¯¯
- Of course there are some VDU-codes which are not meaningful in a Drawfile
- (like flashing colours) or hard to implement (eg. block copy or move). I'll
- now discuss these codes.
-
- (codes not mentioned are implemented)
-
- VDU 1 : Ignored (the printer is not meaningful here)
- VDU 2 : Ignored (the same)
- VDU 3 : Ignored (the same)
- VDU 4 : Normal but because in VDU 4 mode the screen might scroll all
- characters which follows follow as well as all cursor
- movements are ignored until the next VDU 5
- VDU 5 : Normal but only the standard direction of printing is
- supported. So positive X is to the right and positive Y is
- downwards (see VDU 23,
- VDU 6 : Ignored (not meaningful, see also VDU 21)
- VDU 7 : Ignored (impossible to implement)
- VDU 8 : Normal but ignored in VDU 4 mode (see VDU 4)
- VDU 9 : Normal but ignored in VDU 4 mode (see VDU 4)
- VDU 10 : Normal but ignored in VDU 4 mode (see VDU 4)
- VDU 11 : Normal but ignored in VDU 4 mode (see VDU 4)
- VDU 13 : Normal but ignored in VDU 4 mode (see VDU 4)
- VDU 14 : Ignored because won't be any scroll anyway
- VDU 15 : Ignored because won't be any scroll anyway
- VDU 18 : Action=action AND NOT %1111. So only the overwrite mode is
- possible. Because inverting or exclusive OR-ing etc. are very
- difficult to implement if not impossible. The colour patterns
- are implemented as the average of the colours used in the
- pattern (as this is the most common use of those patterns)
- VDU 19 : Only mode 0-15 and 16 are used. Other modes are ignored
- because they are meaningless (in Drawfiles).
- VDU 21 : Ignored see VDU 6
- VDU 23,0 : Ignored (not meaningful)
- VDU 23,1 : Ignored (not meaningful)
- VDU 23,6 : Only the first parameter is significant because the default
- length of the cycle is 8 bits and there is (as far as I know)
- no VDU-sequence to set a different length.
- VDU 23,7-8 : Ignored because a text window cannot be defined and scrolling
- is not allowed
- VDU 23,9-10 : Ignored (not meaningful)
- VDU 23,16 : Ignored because changing the direction of printing it's not
- implemented yet
- VDU 23,17,6 : Ignored because the average is taken from the colours of the
- pattern
- VDU 23,18-24 : Ignored (reserved for future expansion)
- VDU 23,25-26 : Ignored (Font Manager)
- VDU 23,27 : Ignored (Sprite Manager)
- VDU 23,28-31 : Ignored (reserved for applications)
- VDU 23,32-255: Ignored (impossible to implement in Drawfiles)
- VDU 24 : Normal for VDU 5 text expects that no characters are clipped
- nor that any of the objects have been created with VDU 25.
- VDU 25 : Type AND 7 :
- Normal ,but in stead of the logical inverse colour is the
- foreground colour used.
- Type AND NOT 7 :
- 8 : Solid line (including final point)
- 24 : Dotted line (including final point)
- 32 : Solid line (including initial point)
- 40 : Solid line (including both endpoints)
- 48 : Dotted line (including initial point)
- 56 : Dotted line (including both endpoints)
- 64 : Filled rectangle (point size)
- 72 : Ignored (impossible to implement)
- 88 : Ignored (impossible to implement)
- 104 : Ignored (impossible to implement)
- 120 : Ignored (impossible to implement)
- 128 : Ignored (impossible to implement)
- 136 : Ignored (impossible to implement)
- 184 : Ignored (impossible to implement)
- 208 : Ignored (Font Manager)
- 216 : Ignored (reserved)
- 224 : Ignored (reserved)
- 232 : Ignored (Sprite Manager)
- 240 : Ignored (reserved)
- 248 : Ignored (reserved)
- VDU 28 : Ignored because VDU 4 text is ignored too
- VDU 30 : Normal but ignored in VDU 4 mode
- VDU 31 : Normal but ignored in VDU 4 mode
- VDU 32-255 : Normal but ignored in VDU 4 mode
-
- The definition of the logical colours (VDU 19) doesn't affect earlier
- objects defined with that colour (So you can create 16 million colour
- drawings in mode 0).
-
- Finally some remarks about the linewidth and the type of join used as
- default. The linewidth is a multiple of OS-units (Operating System
- Unit=1/180inch). So in mode 12 all lines have a width of 4 OS-units (which
- is in terms of pointsize, as used in Draw, about 4*0.4=1.6 points). This
- means that horizontal lines have the proper width but vertical lines are 2
- times the normal width of 2 OS-units. Only in square pixel modes (e.g. 1, 4,
- 9, 13, 18 and 21) the linewidth is correct for both horizontal and vertical
- lines.
- The joint between two lines has bevelled edges to smoothen the sharp point
- when two lines intersect at a small angle.
-
- The desktop frontend was written by John 'Translator' Kortink
-
- If you have any comment about bugs or features please write to:
-
- Pieter Gosselink
- Witbreuksweg 381 - 107
- 7522 ZA ENSCHEDE
- The Netherlands
-
-
- New versions of this application can be obtained from the same address by
- sending some money to cover postage and a self-adressed envelope containing
- a 3.5" disc.
-
- ____________________________________________________________________________
-
-
- This application is build upon the DrawFile-Generator also available from
- the above author. The generator version used in VDUobject and which is also
- supplied separately in the directory 'docs.generator' is actually a cut-down
- version of the Generator which can be obtained by becoming a registered
- user.
- For more information about the features of the Generator and about becoming
- a registered user, you'd refer to the documentation of the 'generator' in
- the equally named subdirectory of this application.
-
- ____________________________________________________________________________
-
- You may NOT change this application or use ANY part of it in other products
- without my approval. You may spread it freely (with *ALL* files included),
- but not for any profit. This software is provided 'as is'. Using it is
- entirely at your own risk.
- ____________________________________________________________________________
-
-
-
-
-